package main;

import java.nio.charset.StandardCharsets;
import java.util.Base64;

/**
 * @author pengjz <br>
 * @version 1.0 <br>
 * @description Base64Util <br>
 * @date 2020/10/21 22:17 <br>
 */
public class Base64Util {
    public static void main(String[] args) {
        Base64.Decoder decoder = Base64.getDecoder();
        byte[] bytes = decoder.decode("/YySyh7tAehC4VVhqIXn1w==");

        System.out.println("BASE64解密：" + new String(bytes, StandardCharsets.UTF_8));

    }
}
